#ifndef ENROLLACCOUNT_H
#define ENROLLACCOUNT_H

#include <QWidget>

namespace Ui {
class enrollaccount;
}

class enrollaccount : public QWidget
{
    Q_OBJECT

public:
    explicit enrollaccount(QWidget *parent = nullptr);
    ~enrollaccount();
public:
      bool enrollsuccess;  //注册是否成功
public:

signals:
    void setAccount(QString);
    void setSecret(QString);
    void setName(QString);
    void infoready();    //信息填写完毕后，给login发送信号，告诉它可以发注册的账户信息给服务端了
private slots:
    void on_pushButton_enroll_clicked();

private:
    Ui::enrollaccount *ui;
};

#endif // ENROLLACCOUNT_H
